package com.xsz.service;

import com.xsz.entity.DictType;
import com.xsz.mapper.DictTypeMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DictTypeService {
    @Resource
    DictTypeMapper dictTypeMapper;

    public DictType getById(String id){
        return  dictTypeMapper.selectByPrimaryKey(id);
    }
}
